#! /bin/bash

echo -n "please input 2 string >:"

read s1 s2

echo "s1 = $s1, s2 = $s2"

if test -z $s1
then
    echo "s1 is empty"
    exit 1
fi


if test -z $s2
then
    echo "s2 is empty"
    exit 1
fi

if test $s1 = $s2
then
    echo "s1 = s2"
else
    echo "s1 = s2"
fi
